package com.life.ai.server.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.life.ai.server.modules.system.entity.SysUser;
import com.life.ai.server.modules.system.model.dto.UserQueryDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author kyle
 * @since 2024-06-14
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    Page<SysUser> queryPage(@Param("page") Page<SysUser> page, @Param("query") UserQueryDTO userQuery);
}
